﻿using Ninject;
using Nx.Bootstrappers;
using Nx.Clients.Http;
using Nx.Kernel;

namespace Nx.Clients.Extensions
{
    public class NxClientsExtension : IBootstrapperExtension
    {
        public void Extend(IKernel kernel)
        {
#if NETFX_CORE
            
#elif WINDOWS_PHONE
            kernel.RegisterTypeIfMissing<ISerializer, JsonSerializer>(false);
#endif
        }

        public string Name
        {
            get { return "Nx.Clients Extension"; }
        }
    }
}
